﻿<Window x:Class="frmAddPersonToCompany"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Add Person to Company" Height="433" Width="364" Background="Gray" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen">
    <Grid>
        <ComboBox BorderBrush="Black" Height="21" Margin="105,10,78,0" Name="drpRole" VerticalAlignment="Top" />
        <Label Height="20.8" HorizontalAlignment="Left" Margin="10,10,0,0" Name="Label2" VerticalAlignment="Top" Width="64">Select Role</Label>
        <Label Height="22" HorizontalAlignment="Left" Margin="11,37,0,0" Name="Label1" VerticalAlignment="Top" Width="71">Company Id</Label>
        <TextBox BorderBrush="Black" Height="19.8" Margin="105,37,78,0" Name="txtCompanyID" VerticalAlignment="Top" />
        <Button Height="20" HorizontalAlignment="Right" Margin="0,37,12,0" Name="btnAdd" VerticalAlignment="Top" Width="60">Ok</Button>
        <Button Height="20" HorizontalAlignment="Right" Margin="0,63,12,0" Name="btnAdvanced" VerticalAlignment="Top" Width="116">Advanced Options &gt;&gt;</Button>
        <GroupBox Header="Search" Margin="12,86,12,12" Name="grpSearch">
            <Grid>
                <Label Height="22" HorizontalAlignment="Left" Margin="-6,36,0,0" Name="Label3" VerticalAlignment="Top" Width="57">Company</Label>
                <TextBox BorderBrush="Black" Height="19.8" Margin="80,38,67,0" Name="txtCompanyIDorName" VerticalAlignment="Top" />
                <Label Height="20.8" HorizontalAlignment="Left" Margin="-4,10,0,0" Name="Label4" VerticalAlignment="Top" Width="62">Search For</Label>
                <Button Height="48.8" HorizontalAlignment="Right" Margin="0,10,2,0" Name="btnSearch" VerticalAlignment="Top" Width="60">Search</Button>
                <RadioButton Height="13.8" Margin="62,15,0,0" Name="rdoID" IsChecked="True" VerticalAlignment="Top" HorizontalAlignment="Left" Width="78">Company ID</RadioButton>
                <RadioButton Height="13.8" Margin="147,15,64,0" Name="rdoName" VerticalAlignment="Top">Company Name</RadioButton>
                <Label Height="22" Margin="0,0,6,-4" Name="Label5" VerticalAlignment="Bottom">Double-click on the entry to select</Label>
                <ListView Margin="0,65,0,15" Name="lvwSimilar">
                    <ListView.ContextMenu>
                        <ContextMenu Name="chistory">History</ContextMenu>
                    </ListView.ContextMenu>
                    <ListView.View>
                        <GridView Selector.IsSelected="True">
                            <GridViewColumn DisplayMemberBinding="{Binding Path=Company_Name}">Company</GridViewColumn>
                            <GridViewColumn DisplayMemberBinding="{Binding Path=industry}">Industry</GridViewColumn>
                        </GridView>
                    </ListView.View>
                </ListView>
            </Grid>
        </GroupBox>
    </Grid>
</Window>
